﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabPayment_Entry
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? naming_series { get; set; }
        public string? payment_type { get; set; }
        public string? payment_order_status { get; set; }
        public DateOnly? posting_date { get; set; }
        public string? company { get; set; }
        public string? mode_of_payment { get; set; }
        public string? party_type { get; set; }
        public string? party { get; set; }
        public string? party_name { get; set; }
        public string? bank_account { get; set; }
        public string? party_bank_account { get; set; }
        public string? contact_person { get; set; }
        public string? contact_email { get; set; }
        public decimal party_balance { get; set; }
        public string? paid_from { get; set; }
        public string? paid_from_account_type { get; set; }
        public string? paid_from_account_currency { get; set; }
        public decimal paid_from_account_balance { get; set; }
        public string? paid_to { get; set; }
        public string? paid_to_account_type { get; set; }
        public string? paid_to_account_currency { get; set; }
        public decimal paid_to_account_balance { get; set; }
        public decimal paid_amount { get; set; }
        public decimal paid_amount_after_tax { get; set; }
        public decimal source_exchange_rate { get; set; }
        public decimal base_paid_amount { get; set; }
        public decimal base_paid_amount_after_tax { get; set; }
        public decimal received_amount { get; set; }
        public decimal received_amount_after_tax { get; set; }
        public decimal target_exchange_rate { get; set; }
        public decimal base_received_amount { get; set; }
        public decimal base_received_amount_after_tax { get; set; }
        public decimal total_allocated_amount { get; set; }
        public decimal base_total_allocated_amount { get; set; }
        public decimal unallocated_amount { get; set; }
        public decimal difference_amount { get; set; }
        public string? purchase_taxes_and_charges_template { get; set; }
        public string? sales_taxes_and_charges_template { get; set; }
        public int apply_tax_withholding_amount { get; set; }
        public string? tax_withholding_category { get; set; }
        public decimal base_total_taxes_and_charges { get; set; }
        public decimal total_taxes_and_charges { get; set; }
        public string? reference_no { get; set; }
        public DateOnly? reference_date { get; set; }
        public DateOnly? clearance_date { get; set; }
        public string? project { get; set; }
        public string? cost_center { get; set; }
        public string? status { get; set; }
        public int custom_remarks { get; set; }
        public string? remarks { get; set; }
        public string? letter_head { get; set; }
        public string? print_heading { get; set; }
        public string? bank { get; set; }
        public string? bank_account_no { get; set; }
        public string? payment_order { get; set; }
        public string? auto_repeat { get; set; }
        public string? amended_from { get; set; }
        public string? title { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
        public string? workflow_state { get; set; }
    }
}
